package com.boc.langxiang.contract.me;

import com.boc.langxiang.contract.BaseView;
import com.boc.langxiang.entity.response.TobecanyuContentBean;
import com.boc.langxiang.presenter.BasePresenter;

import java.util.List;

public interface MyExerciseWantFragmentContract {

    interface View extends BaseView {
        /**
         *
         * @param list   参与列表
         * @param count  参与总数
         */
        void getMytobecanyu(List<TobecanyuContentBean> list, int count);

        /**
         * 获取加载更多的
         * @param collect
         * @param count
         */
        void getLoadMoreList(List<TobecanyuContentBean> collect, int count);

       void onDeleteIconClick(int adapterPosition, String id);

        void deleteCanyuSuccess(int adapterPosition);
    }

    interface Presenter extends BasePresenter {
        void mytobecanyu(String page);

        /**
         * 上拉加载
         * @param page
         */
        void loadMore(String page);


        void delMytobecanyu(String id,int adapterPosition);
    }

}
